update

FFIB 2 anos atrás
pai
commit
9b7e2c183c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      equipment/models.py

+ 1 - 1
equipment/models.py

@@ -237,7 +237,7 @@ class IsolationPointUserInfo(BaseModelMixin):
237 237
             return '-'
238 238
 
239 239
         if today.day == self.detect_at.day and today.month == self.detect_at.month and today.year == self.detect_at.year:
240
-            return '-' if self.antigen_result == 2 else self.get_antigen_result_display()
240
+            return '-' if self.antigen_result == 2 else self.antigen_result
241 241
         else:
242 242
             return '-'
243 243